package com.example.demo.mapper;

import com.example.demo.entity.Vistor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface VistorMapper {
    int addConsult(Map<String, String> map);

    int updateConsult(Map<String, String> map);

    int del(int vid);


    int addMask(Map<String, String> map);

    int updateMask(Map<String, String> map);

    List<Vistor> showToPage1(Integer startNum,Integer rows);

    List<Vistor> showToPage2(Integer startNum,Integer rows);

    int findTotal1();

    int findTotal2();
}
